package top.raoqq.sky.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.Size;
import java.time.LocalDate;


/**
 * @author 饶奇奇
 * @date 2023/8/16
 */
@Data
public class RoleQueryVO {

    @Size(max = 30, message = "角色名最大不能超过30个字符")
    private String roleName;
    @Size(max = 100, message = "用户名最大不能超过100个字符")
    private String roleKey;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;


}
